package com.next

class ContactFeature
{
    String name

    static belongsTo = [category: ContactFeatureCategory]

    static constraints =
        {
            name unique: ['category']
            name size: 2..32
        }

    String toString()
    {
        name
    }
}